package model

import (
	"time"
)

type AuCarOwnerCo struct {
	OwnerCoId          int       `xorm:"not null pk autoincr INT(11)"`
	Uid                int       `xorm:"default 0 INT(11)"`
	Phone              string    `xorm:"VARCHAR(32)"`
	AreaId             int       `xorm:"INT(11)"`
	RegisterAt         time.Time `xorm:"DATETIME"`
	Mileage            string    `xorm:"VARCHAR(30)"`
	Name               string    `xorm:"VARCHAR(32)"`
	Sex                int       `xorm:"default 0 TINYINT(4)"`
	ModelId            int       `xorm:"INT(11)"`
	ProvinceId         int       `xorm:"INT(11)"`
	CityId             int       `xorm:"INT(11)"`
	DistrictId         int       `xorm:"INT(11)"`
	StreetId           int       `xorm:"INT(11)"`
	SellerAddress      string    `xorm:"VARCHAR(128)"`
	Cid                int       `xorm:"INT(11)"`
	MasterBranch       string    `xorm:"not null default '' VARCHAR(255)"`
	SendedAt           time.Time `xorm:"DATETIME"`
	CreatedAt          time.Time `xorm:"DATETIME"`
	Series             string    `xorm:"not null default '' VARCHAR(255)"`
	MasterId           int       `xorm:"not null INT(10)"`
	SeriesId           int       `xorm:"not null INT(10)"`
	Status             int       `xorm:"not null default 1 TINYINT(1)"`
	Comefrom           string    `xorm:"VARCHAR(100)"`
	Comefromid         int64     `xorm:"BIGINT(20)"`
	Comefromurl        string    `xorm:"TEXT"`
	ComefromCreatetime time.Time `xorm:"DATETIME"`
	ComefromProvince   string    `xorm:"VARCHAR(200)"`
	ComefromCity       string    `xorm:"VARCHAR(200)"`
	Imported           int       `xorm:"default 0 TINYINT(1)"`
	ComefromPid        int       `xorm:"not null INT(11)"`
	ComefromCid        int       `xorm:"not null INT(11)"`
	ComefromData       string    `xorm:"TEXT"`
	ComefromLastPage   int       `xorm:"not null INT(11)"`
}
